//
//  MainClassModel.m
//  Rabbit
//
//  Created by 阿帕 on 2018/11/12.
//  Copyright © 2018年 GCY. All rights reserved.
//

#import "MainClassModel.h"

@implementation MainClassModel

@end

///轮播Model
@implementation MainBannerModel 

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    
    return @{};
    //    return @{};
}


@end


//运价指数Model
@implementation FreightIndexModel

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    
    return @{};
}

@end
///嵌套Model
//@implementation MainRecommendBankModel
//+ (NSDictionary *)mj_replacedKeyFromPropertyName {
//    return @{@"bankId" : @"id"};
//}
//+ (NSDictionary *)mj_objectClassInArray {
//    return @{@"labelList" : [LabelListModel class]};
//}
//@end
//@implementation LabelListModel
//+ (NSDictionary *)mj_replacedKeyFromPropertyName {
//    return @{@"labelId" : @"id"};
//}
//@end

///最新货源Model
@implementation MainActivityModel

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    
    return @{};
}

@end


///司机列表Model
@implementation SiJiListModel

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    
    return @{};
}

@end



///通知消息Model
@implementation NoticeModel

- (id)mj_newValueFromOldValue:(id)oldValue property:(MJProperty *)property {
    if ([property.name isEqualToString:@"extras"] && property.type.typeClass == [NoticeExtrasModel class]) {
        NoticeExtrasModel *extralModel = [NoticeExtrasModel mj_objectWithKeyValues:oldValue];
        return extralModel;
    }
    return oldValue;
}

@end


@implementation NoticeExtrasModel

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    
    return @{};
}

@end


///运单轨迹Model
@implementation YunDanTrackRecordModel

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    
    return @{@"trackId" : @"id"};
}

@end
